import { State } from "@/types";

export const getStateDoc = (state: State) => state.doc